home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1997 / HAM Radio 1997.iso / vcls / nimgvc10.000 / nedima~1.h < prev    next >
C/C++ Source or Header  |  1996-04-08  |  2KB  |  83 lines

  1. #ifndef __NEDIMAGE1_H__
  2. #define __NEDIMAGE1_H__
  3.  
  4. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  5.  
  6. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  7. //  Microsoft Visual C++, your modifications will be overwritten.
  8.  
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CNEDImage wrapper class
  11.  
  12. class CNEDImage : public CWnd
  13. {
  14. protected:
  15.     DECLARE_DYNCREATE(CNEDImage)
  16. public:
  17.     CLSID const& GetClsid()
  18.     {
  19.         static CLSID const clsid
  20.             = { 0xd0af3500, 0x33f, 0x11cf, { 0x9e, 0xaa, 0x0, 0x0, 0xc0, 0x57, 0x17, 0x40 } };
  21.         return clsid;
  22.     }
  23.     virtual BOOL Create(LPCTSTR lpszClassName,
  24.         LPCTSTR lpszWindowName, DWORD dwStyle,
  25.         const RECT& rect,
  26.         CWnd* pParentWnd, UINT nID,
  27.         CCreateContext* pContext = NULL)
  28.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  29.  
  30.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  31.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  32.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  33.         BSTR bstrLicKey = NULL)
  34.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  35.         pPersist, bStorage, bstrLicKey); }
  36.  
  37. // Attributes
  38. public:
  39.     CString GetPicture();
  40.     void SetPicture(LPCTSTR);
  41.     short GetFitType();
  42.     void SetFitType(short);
  43.     BOOL GetAutoDisplay();
  44.     void SetAutoDisplay(BOOL);
  45.     OLE_COLOR GetBackColor();
  46.     void SetBackColor(OLE_COLOR);
  47.     short GetColorReductionMethod();
  48.     void SetColorReductionMethod(short);
  49.     long GetTotalRotate();
  50.     void SetTotalRotate(long);
  51.     short GetVScrollPos();
  52.     void SetVScrollPos(short);
  53.     short GetHScrollPos();
  54.     void SetHScrollPos(short);
  55.     BOOL GetScrollBars();
  56.     void SetScrollBars(BOOL);
  57.     long GetNumScreenColors();
  58.     void SetNumScreenColors(long);
  59.     long GetNumPrinterColors();
  60.     void SetNumPrinterColors(long);
  61.     long GetNumImageColors();
  62.     void SetNumImageColors(long);
  63.     long GetImageHeight();
  64.     void SetImageHeight(long);
  65.     long GetImageWidth();
  66.     void SetImageWidth(long);
  67.  
  68. // Operations
  69. public:
  70.     void Rotate90();
  71.     void Rotate180();
  72.     void Rotate270();
  73.     BOOL OrderedDither();
  74.     BOOL ErrorDiffusionDither();
  75.     BOOL MedianCutQuant();
  76.     void Refresh();
  77.     short GetLastError();
  78.     BOOL PrintImage();
  79.     void AboutBox();
  80. };
  81.  
  82. #endif // __NEDIMAGE1_H__
  83.